package com.tech.tool.vo.databaseManage;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.tech.tool.utils.Date2LongSerializerUtil;
import lombok.Data;

import java.util.Date;

@Data
public class DatabaseManageVO {


    @JsonProperty("id")
    private Integer id;

    @JsonProperty("name")
    private String databaseName;

    @JsonProperty("host")
    private String databaseHost;

    @JsonProperty("port")
    private Integer databasePort;

    @JsonProperty("username")
    private String databaseUsername;

    @JsonProperty("schema")
    private String databaseSchemaName;

    @JsonProperty("BUId")
    private Integer buId;

    @JsonSerialize(using = Date2LongSerializerUtil.class)
    private Date createTime;

//    private Date updateTime;

}
